<SCRIPT type="text/javascript">

	function reExcute(){
		loadURLWithTip('/${orgi}/manage/task/${task.taskid!''}/taskreexcute.html' , '#tempdiv' , function(data){closeR3ArtDialog();alertMsg(data);}  , false)
	}
</SCRIPT>
<div class="artCon">
	<div class="middleArt">
	<form class="form-horizontal" id="useraddForm" data-toggle="form" action="/${orgi}/manage/account/useraddo.html" method="post">
		<div class="artMain">
			<div class="mainCenter" style="margin-left: 20px; margin-right: 20px">
				<table class="data_table_1" >
					<tr>
						<th>任务名称：</th>
						<td>
						${task.name!''}
						</td>
						<th>&nbsp;</th>
						<td>&nbsp;
						</td>
					</tr>
					
					<tr>
						<th>开始时间：</th>
						<td>
							${task.starttime?string("yyyy年MM月dd HH:mm:ss")}
						</td>
						<th>结束时间：</th>
						<td>
							${task.endtime?string("yyyy年MM月dd HH:mm:ss")}
						</td>
					</tr>
					
					
					<tr>
						<th>状态：</th>
						<td>
						<#if task.resulttype==1>成功<#elseif task.resulttype==2>失败&nbsp;<img alt="" src="/assets/images/msg_error_8.gif">&nbsp;&nbsp;
						<span><a onclick="reExcute()" href="javascript:void(0)">重新执行...</a></span><#elseif task.resulttype==3>已取消<#else>原因不明</#if>
						</td>
						<th>执行人：</th>
						<td>${task.username!''}
						</td>
					</tr>
					
					<tr height="30" >
						<th style="vertical-align: top;padding-top: 8px;">消息：</th>
						
						<td colspan="3">
						
							<div class="tableScrollWrap" style="height: 100px;border: #eee solid 2px;">
								 <table class="table_style_1">
									<tbody>
									<#if statusmsgs??>
										<#list statusmsgs as statusmsg>
										<tr>
											<th style="width:150px;padding-left:5px;">${statusmsg.time!''}</th>
											<th style="width:500px;">${statusmsg.msg!''}</th>
										</tr>
										</#list>
									</#if>
									
									</tbody>
								</table>
							</div>
						</td>
					</tr>
				</table>
			</div>
		</div>
		<div class="bottomBg">
			<div class="btnWrap">
				<a id="closebnt" href="javascript:closeR3ArtDialog()" class="btnStyle2">关闭</a>
			</div>
		</div>
		</form>
	</div>
</div>
<script type="text/javascript">
	$(function(){
		$(".mainCenter ul li").hover(function(){
			$(this).addClass("cur").siblings("li").removeClass("cur");
		},function(){
			$(this).removeClass("cur");	
		});
	})
</script>
